'use strict'; // eslint-disable-line

/**
 * Default dev server configuration.
 */
const webpack = require('webpack');
const WebpackBaseConfig = require('./Base');
//const ExtractTextPlugin = require('extract-text-webpack-plugin');

class WebpackDevConfig extends WebpackBaseConfig {
  constructor() {
    super();
    this.config = {
      devtool: 'inline-source-map',
      entry: {        
        //"index": './entries/index.tsx',
        //"desktop-admin": "./entries/desktop-admin.ts",
        "sale-add": "./entries/sale-add.tsx",
        //"product-add": "./entries/product-add.tsx",     
       "unit-setting":   "./entries/unit-setting.tsx"
      },    
      plugins: [
        new webpack.NoEmitOnErrorsPlugin()        ]
    };
  }
}

module.exports = WebpackDevConfig;
